home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: 04 Mar 1996 22:57:13 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Mar4155713@qcd.lanl.gov>
- References: <JSA.96Feb16135027@organon.com> <4h8233$c7p$1@canberra.DIALix.oz.au>
- <4h8mq3INNmr9@anvil.ugrad.cs.ubc.ca> <4hdv3t$911@goanna.cs.rmit.EDU.AU>
- <4hf74kINNdpi@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: c2a192@ugrad.cs.ubc.ca's message of 4 Mar 1996 08:52:36 -0800
-
- In article <4hf74kINNdpi@keats.ugrad.cs.ubc.ca>
- c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
-
- KK: In article <4hdv3t$911@goanna.cs.rmit.EDU.AU>,
- KK: Richard A. O'Keefe <ok@goanna.cs.rmit.EDU.AU> wrote:
- KK: >The problem is not that people _can't_ develop conforming
- compilers, it's that
- KK: >unless and until the market pushes hard enough, they _don't_. I have been
- KK: >received ads for "ANSI-compliant C++ compilers" for some time now, despite
- KK: >the absence at the time of an actual ANSI standard for C++. Many
- customers
- KK:
- KK: I think that what they mean is that the C subset accepted by the
- C++ compiler
- KK: is ANSI conforming; i.e. the C++ is just an extension over the ANSI C core.
-
- Sorry: the C subset accepted by C++ compiler is by definition C: so it
- is ANSI conforming? What are you saying?
-
- There is correct C code that is incorrect C++:
-
- #include <stdlib.h>
- int *p = malloc(sizeof *p);
-
- and there is correct C++ code that is incorrect C:
-
- int *p = new (int);
-
- So, how is either the extension of the other?
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-